<!DOCTYPE html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <!-- hexo-inject:begin --><!-- hexo-inject:end --><meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<link href="https://cdn.bootcss.com/KaTeX/0.7.1/katex.min.css" rel="stylesheet">








<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="vim," />










<meta name="description" content="这里用于记录我用到过的Vim的快捷键.">
<meta name="keywords" content="vim">
<meta property="og:type" content="article">
<meta property="og:title" content="我所用到的Vim的快捷键">
<meta property="og:url" content="http://ukaii.cn/2018/08/06/Vim之normal模式下快捷键/index.html">
<meta property="og:site_name" content="uKaii">
<meta property="og:description" content="这里用于记录我用到过的Vim的快捷键.">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2019-08-05T01:32:35.213Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="我所用到的Vim的快捷键">
<meta name="twitter:description" content="这里用于记录我用到过的Vim的快捷键.">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://ukaii.cn/2018/08/06/Vim之normal模式下快捷键/"/>





  <title>我所用到的Vim的快捷键 | uKaii</title><!-- hexo-inject:begin --><!-- hexo-inject:end -->
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <!-- hexo-inject:begin --><!-- hexo-inject:end --><div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">uKaii</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-主页">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            主页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-标签">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-目录">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            目录
          </a>
        </li>
      
        
        <li class="menu-item menu-item-时间轴">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            时间轴
          </a>
        </li>
      
        
        <li class="menu-item menu-item-schedule">
          <a href="/schedule/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-calendar"></i> <br />
            
            日程表
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://ukaii.cn/2018/08/06/Vim之normal模式下快捷键/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="uKaii">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/assets/img/avatar.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="uKaii">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">我所用到的Vim的快捷键</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-08-06T16:07:27+08:00">
                2018-08-06
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/软件工具/" itemprop="url" rel="index">
                    <span itemprop="name">软件工具</span>
                  </a>
                </span>

                
                
                  ， 
                
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/软件工具/vim/" itemprop="url" rel="index">
                    <span itemprop="name">vim</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1,245字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5min
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>这里用于记录我用到过的Vim的快捷键.<br><a id="more"></a></p>
<h1 id="移动"><a href="#移动" class="headerlink" title="移动"></a>移动</h1><h2 id="左右移动"><a href="#左右移动" class="headerlink" title="左右移动"></a>左右移动</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line"># 绝对移动</span><br><span class="line">0 -- 到行头</span><br><span class="line">^ -- 到本行的第一个非blank字符</span><br><span class="line">$ -- 到行尾</span><br><span class="line">g_ -- 到本行最后一个不是blank字符的位置</span><br><span class="line">f/F&#123;char&#125; -- 到下/上一个&#123;char&#125;字符的位置 </span><br><span class="line">t/T&#123;char&#125; -- 到下/上一个&#123;char&#125;字符前/后的位置</span><br><span class="line"></span><br><span class="line"># 相对移动</span><br><span class="line">h -- 向左移动</span><br><span class="line">l -- 向右移动</span><br></pre></td></tr></table></figure>
<h2 id="上下移动"><a href="#上下移动" class="headerlink" title="上下移动"></a>上下移动</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"># 绝对移动</span><br><span class="line">&#123;N&#125;G/&#123;N&#125;gg -- 移到第N行</span><br><span class="line">gg -- 移到第一行</span><br><span class="line">G -- 移到最后一行</span><br><span class="line"></span><br><span class="line"># 相对移动</span><br><span class="line">j -- 向下移动</span><br><span class="line">k -- 向上移动</span><br><span class="line">gj -- 同一行中向下</span><br><span class="line">gk -- 同一行中向上</span><br></pre></td></tr></table></figure>
<h2 id="其他移动"><a href="#其他移动" class="headerlink" title="其他移动"></a>其他移动</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">% -- 可对括号进行匹配移动</span><br><span class="line">w -- 下一个单词</span><br><span class="line">b -- 上一个单词</span><br></pre></td></tr></table></figure>
<h2 id="滚屏"><a href="#滚屏" class="headerlink" title="滚屏"></a>滚屏</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">Ctrl+f -- 下翻一屏。</span><br><span class="line">Ctrl+b -- 上翻一屏。</span><br><span class="line">Ctrl+d -- 下翻半屏。</span><br><span class="line">Ctrl+u -- 上翻半屏。</span><br><span class="line">Ctrl+e -- 向下滚动一行。</span><br><span class="line">Ctrl+y -- 向上滚动一行。</span><br><span class="line">n% -- 到文件n%的位置。</span><br><span class="line">zz -- 将当前行移动到屏幕中央。</span><br><span class="line">zt -- 将当前行移动到屏幕顶端。</span><br><span class="line">zb -- 将当前行移动到屏幕底端。</span><br></pre></td></tr></table></figure>
<h2 id="标记"><a href="#标记" class="headerlink" title="标记"></a>标记</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">m&#123;mark&#125; -- 在光标未知做一个标记&#123;mark&#125;</span><br><span class="line">`&#123;mark&#125; -- 移动到标记&#123;mark&#125;所在位置</span><br><span class="line">&apos;&#123;mark&#125; -- 移动到标记&#123;mark&#125;所在行行首</span><br><span class="line">:marks  -- 列出当前文件所有的标记</span><br></pre></td></tr></table></figure>
<h3 id="特殊的标记"><a href="#特殊的标记" class="headerlink" title="特殊的标记"></a>特殊的标记</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">&apos; -- 上一次的位置</span><br><span class="line">&quot; -- 上一次编辑文件的位置</span><br><span class="line">[ -- 上一次修改的起始位置</span><br><span class="line">] -- 上一次修改的结束位置</span><br></pre></td></tr></table></figure>
<h1 id="编辑"><a href="#编辑" class="headerlink" title="编辑"></a>编辑</h1><h2 id="插入"><a href="#插入" class="headerlink" title="插入"></a>插入</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">i -- 字母左边插入</span><br><span class="line">I -- 行首插入</span><br><span class="line">a -- 字母右边插入</span><br><span class="line">A -- 行尾插入</span><br><span class="line">o -- 下一行插入</span><br><span class="line">O -- 上一行插入</span><br></pre></td></tr></table></figure>
<h2 id="删除"><a href="#删除" class="headerlink" title="删除"></a>删除</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">d&#123;motion&#125; -- 删除移动过的范围 </span><br><span class="line">&#123;visual&#125;d -- 删除可视化的范围</span><br><span class="line">dd -- 删除一行</span><br><span class="line">D -- 删除到行尾</span><br><span class="line">x -- 删除一个字母</span><br><span class="line">X -- 往前删除一个字母</span><br></pre></td></tr></table></figure>
<h2 id="删除-插入"><a href="#删除-插入" class="headerlink" title="删除+插入"></a>删除+插入</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">c&#123;motion&#125; -- 删除移动过的范围并插入 </span><br><span class="line">&#123;visual&#125;c -- 删除可视化的范围并插入</span><br><span class="line">cc -- 删除一行并插入</span><br><span class="line">C -- 删除到行尾并插入</span><br><span class="line">s -- 删除一个字母并插入</span><br><span class="line">S -- 删除一行并插入</span><br></pre></td></tr></table></figure>
<h2 id="修改"><a href="#修改" class="headerlink" title="修改"></a>修改</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">r&#123;char&#125; -- 修改掉一个字母</span><br><span class="line">R -- 进入修改模式</span><br></pre></td></tr></table></figure>
<h2 id="区域选择"><a href="#区域选择" class="headerlink" title="区域选择"></a>区域选择</h2><p>区域选择的格式为：<code>{action}N(i/a){object}</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br></pre></td><td class="code"><pre><span class="line">&#123;action&#125; -- 可以是任何的命令，如 d (删除), y (拷贝), v (可以视模式选择)</span><br><span class="line">N -- 表示匹配object的次数</span><br><span class="line">i/a -- i表示不包括最外层边界，a表示包括最外层边界</span><br><span class="line">&#123;object&#125; -- 表示你选择的范围</span><br><span class="line"></span><br><span class="line">&#123;object&#125;有如下实例：</span><br><span class="line">w/W -- 一个单词</span><br><span class="line">s/S -- 一个句子</span><br><span class="line">p/P -- 一篇段落</span><br><span class="line">&apos; -- 单引号字符串</span><br><span class="line">&quot; -- 双引号字符串</span><br><span class="line">` -- 反向引用字符串</span><br><span class="line">b/(/) -- (块)</span><br><span class="line">B/&#123;/&#125;-- &#123;块&#125;</span><br><span class="line">[/] -- [块]</span><br><span class="line">&lt;/&gt; -- &lt;块&gt;</span><br><span class="line">t -- &lt;&gt;块&lt;&gt;</span><br></pre></td></tr></table></figure>
<h1 id="查找与替换"><a href="#查找与替换" class="headerlink" title="查找与替换"></a>查找与替换</h1><h2 id="查找"><a href="#查找" class="headerlink" title="查找"></a>查找</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/&#123;字符串&#125; -- 查找并高亮显示字符串</span><br></pre></td></tr></table></figure>
<p>更快捷的方式为</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">* -- 向下查找光标所在的单词</span><br><span class="line"># -- 向上查找光标所在的单词</span><br><span class="line">依旧可以用 n/N 选择下一个或上一个</span><br></pre></td></tr></table></figure>
<h2 id="替换"><a href="#替换" class="headerlink" title="替换"></a>替换</h2><p>替换的格式为：<code>:{作用范围}s/{目标}/{替换}/{替换标志}</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"># 作用范围:默认是当前行，以下是示例</span><br><span class="line">visual模式选中的范围</span><br><span class="line">% -- 全局 </span><br><span class="line">2,11 -- 2到11行</span><br><span class="line"></span><br><span class="line"># 目标与替换</span><br><span class="line">字符串，支持正则</span><br><span class="line"></span><br><span class="line"># 替换标志</span><br><span class="line">g -- 全局</span><br><span class="line">i -- 不区分大小写 </span><br><span class="line">c -- 需要确认|CTRL-E</span><br></pre></td></tr></table></figure>
<h2 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h2><p><a href="https://harttle.land/2016/08/08/vim-search-in-file.html" target="_blank" rel="noopener">在 Vim 中优雅地查找和替换 | Harttle Land</a></p>
<h1 id="折叠"><a href="#折叠" class="headerlink" title="折叠"></a>折叠</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line"># 基础</span><br><span class="line">zf -- 创建折叠的命令，可以在一个可视区域上使用该命令；</span><br><span class="line">zd -- 删除当前行的折叠；</span><br><span class="line">zi -- enable/disable fold;</span><br><span class="line"></span><br><span class="line">zj -- 跳到下一个折叠处；</span><br><span class="line">zk -- 跳到上一个折叠处；</span><br><span class="line"></span><br><span class="line"># 全局折叠</span><br><span class="line">zr -- 打开嵌套的折行；</span><br><span class="line">zm -- 收起嵌套的折行；</span><br><span class="line">zR -- 打开所有折行；</span><br><span class="line">zM -- 收起所有折行；</span><br><span class="line"></span><br><span class="line"># 所在行的折叠</span><br><span class="line">za -- 打开/关闭当前折叠；</span><br><span class="line">zA -- 打开/关闭当前所有折叠;</span><br><span class="line">zo -- 打开折叠的文本；</span><br><span class="line">zc -- 收起折叠；</span><br><span class="line">zO -- 打开所有折行；</span><br><span class="line">zC -- 收起所有折行；</span><br></pre></td></tr></table></figure>
<h1 id="窗口管理"><a href="#窗口管理" class="headerlink" title="窗口管理"></a>窗口管理</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line"># 窗口间移动</span><br><span class="line">Ctrl-w w</span><br><span class="line">Ctrl-w hjkl -- 向左下上右移动</span><br><span class="line"></span><br><span class="line"># 调整窗口位置</span><br><span class="line">Ctrl-w HJKL -- 窗口移动到左下上右</span><br><span class="line">Ctrl-w rRx -- 与下一个窗口交换</span><br><span class="line"></span><br><span class="line"># 调整窗口大小</span><br><span class="line">Ctrl-w = -- 相等大小</span><br><span class="line">Ctrl-w _ -- 窗口纵向最大化</span><br><span class="line">Ctrl-w | -- 窗口横向最大化</span><br></pre></td></tr></table></figure>
<h1 id="其他"><a href="#其他" class="headerlink" title="其他"></a>其他</h1><h2 id="杂七杂八"><a href="#杂七杂八" class="headerlink" title="杂七杂八"></a>杂七杂八</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">Ctrl+a -- 光标所在的数字+1</span><br><span class="line">ga -- 查看字符ascii码</span><br><span class="line">g8 -- 查看字符utf-8编码</span><br></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">:r! &lt;cmd&gt; -- 命令结果插入到光标下一行</span><br></pre></td></tr></table></figure>
<h2 id="寄存器"><a href="#寄存器" class="headerlink" title="寄存器"></a>寄存器</h2><p>待更新…</p>

      
    </div>
    
    
    

    

    

    
      <div>
        <ul class="post-copyright">
  <li class="post-copyright-author">
    <strong>本文作者：</strong>
    uKaii
  </li>
  <li class="post-copyright-link">
    <strong>本文链接：</strong>
    <a href="http://ukaii.cn/2018/08/06/Vim之normal模式下快捷键/" title="我所用到的Vim的快捷键">http://ukaii.cn/2018/08/06/Vim之normal模式下快捷键/</a>
  </li>
  <li class="post-copyright-license">
    <strong>版权声明： </strong>
    本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/3.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 3.0</a> 许可协议。转载请注明出处！
  </li>
</ul>

      </div>
    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/vim/" rel="tag"># vim</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/08/06/Python基础语法之控制流程/" rel="prev" title="Python基础语法之控制流程">
                Python基础语法之控制流程 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
      <div id="SOHUCS"></div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="/assets/img/avatar.jpg"
                alt="uKaii" />
            
              <p class="site-author-name" itemprop="name">uKaii</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives">
              
                  <span class="site-state-item-count">34</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">17</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">17</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#移动"><span class="nav-number">1.</span> <span class="nav-text">移动</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#左右移动"><span class="nav-number">1.1.</span> <span class="nav-text">左右移动</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#上下移动"><span class="nav-number">1.2.</span> <span class="nav-text">上下移动</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#其他移动"><span class="nav-number">1.3.</span> <span class="nav-text">其他移动</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#滚屏"><span class="nav-number">1.4.</span> <span class="nav-text">滚屏</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#标记"><span class="nav-number">1.5.</span> <span class="nav-text">标记</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#特殊的标记"><span class="nav-number">1.5.1.</span> <span class="nav-text">特殊的标记</span></a></li></ol></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#编辑"><span class="nav-number">2.</span> <span class="nav-text">编辑</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#插入"><span class="nav-number">2.1.</span> <span class="nav-text">插入</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#删除"><span class="nav-number">2.2.</span> <span class="nav-text">删除</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#删除-插入"><span class="nav-number">2.3.</span> <span class="nav-text">删除+插入</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#修改"><span class="nav-number">2.4.</span> <span class="nav-text">修改</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#区域选择"><span class="nav-number">2.5.</span> <span class="nav-text">区域选择</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#查找与替换"><span class="nav-number">3.</span> <span class="nav-text">查找与替换</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#查找"><span class="nav-number">3.1.</span> <span class="nav-text">查找</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#替换"><span class="nav-number">3.2.</span> <span class="nav-text">替换</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#参考"><span class="nav-number">3.3.</span> <span class="nav-text">参考</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#折叠"><span class="nav-number">4.</span> <span class="nav-text">折叠</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#窗口管理"><span class="nav-number">5.</span> <span class="nav-text">窗口管理</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#其他"><span class="nav-number">6.</span> <span class="nav-text">其他</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#杂七杂八"><span class="nav-number">6.1.</span> <span class="nav-text">杂七杂八</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#寄存器"><span class="nav-number">6.2.</span> <span class="nav-text">寄存器</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">uKaii</span>

  
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    
      <span class="post-meta-item-text">Site words total count&#58;</span>
    
    <span title="Site words total count">14.0k</span>
  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Mist</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  
  
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
          processEscapes: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
        }
      });
    </script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for (i=0; i < all.length; i += 1) {
          all[i].SourceElement().parentNode.className += ' has-jax';
        }
      });
    </script>
    <script type="text/javascript" src="//cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML"></script><!-- hexo-inject:begin --><!-- Begin: Injected MathJax -->
<script type="text/x-mathjax-config">
  MathJax.Hub.Config("");
</script>

<script type="text/x-mathjax-config">
  MathJax.Hub.Queue(function() {
    var all = MathJax.Hub.getAllJax(), i;
    for(i=0; i < all.length; i += 1) {
      all[i].SourceElement().parentNode.className += ' has-jax';
    }
  });
</script>

<script type="text/javascript" src="">
</script>
<!-- End: Injected MathJax -->
<!-- hexo-inject:end -->
  


  

  

</body>
</html>
